package org.dtrevien.metamodel.graphviz;

import java.util.ArrayList;
import java.util.List;

import org.dtrevien.metamodel.graphviz.visitor.Visitor;

public class GraphvizModel {

	protected List<Graph> graphs;

	public GraphvizModel() {
		this.graphs = new ArrayList<Graph>();
	}
	
	public GraphvizModel(List<Graph> graphs) {
		super();
		this.graphs = graphs;
	}

	public List<Graph> getGraphs() {
		return this.graphs;
	}

	public void setGraphs(List<Graph> graphs) {
		this.graphs = graphs;
	}

	public void accept(Visitor v) {
		v.visitGraphvizModel(this);
	}
	
}
